﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Inovout.Data.HBase
{
    public abstract class HBaseCommand
    {
        public HBaseConnection Connection { get; internal set; }
        internal Hbase.Client Client { get { return Connection.Client; } }

        protected byte[] ToBytes(string value)
        {
            return UTF8Encoding.UTF8.GetBytes(value);
        }
    }
}
